package com.haolijun.eecms.service;

import com.haolijun.eecms.common.R;
import com.haolijun.eecms.entity.TbFacility;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName FacilityService
 * @Description TODO
 * @Author hljstart
 * @Date 2023/3/12 14:44
 * @Version 1.0
 */
public interface FacilityService {

    public R searchFacilityByPage(HashMap param);

    public int insert(TbFacility facility);

    public int delete(Integer id);

    public int update(TbFacility facility);

    public HashMap searchFacilityInfo(Integer id);

    public int updateFacilityStatus(Integer id,Integer status);
}
